#include<stdio.h>

void main()
{
	int i, a[10];
	for(i = 0; i < 10; i++)
	{
		scanf("%d", &a[i]);
	}
	for(i = 0; i < 10; i++)
	{
		printf("%d ", * (a+i)); // a++ is wrong. a == &a[0] is immutable.
	}
	printf("\n");
}
